<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>绩效评估弹窗</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <link rel="stylesheet" href="./css/style.css">
    <style>
        * {
            font-size: 14px;
        }
    </style>
</head>

<body>

<div class="x-body">
    <div class="interviewBox">

        <div class="interview-down ">
            <from class="layui-form" action="" id="evaluate">
                <div class="Dismiss tl2">
                    <ul>
                        <li class="tl2">部门:</li>
                        <li>市场部</li>
                    </ul>
                    <div class="tl3 left"><span class="left tl2">工作地点：</span>
                        <div class="left">
                            <div class="layui-input-block top3">
                            <select name="modules" lay-verify="required" lay-search="">
                                <option value="">直接选择或搜索选择</option>
                                <option value="1">layer</option>
                                <option value="2">form</option>
                                <option value="3">layim</option>
                                <option value="4">element</option>
                                <option value="5">laytpl</option>
                                <option value="6">upload</option>
                                <option value="7">laydate</option>
                                <option value="8">laypage</option>
                                <option value="9">flow</option>
                                <option value="10">util</option>
                                <option value="11">code</option>
                                <option value="12">tree</option>
                                <option value="13">layedit</option>
                                <option value="14">nav</option>
                                <option value="15">tab</option>
                                <option value="16">table</option>
                                <option value="17">select</option>
                                <option value="18">checkbox</option>
                                <option value="19">switch</option>
                                <option value="20">radio</option>
                            </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="jx-box tl2"><span class="left">员工姓名：</span>
                    <div class="layui-input-block jx-input">
                        <select name="modules" lay-verify="required" lay-search="">
                            <option value="">直接选择或搜索选择</option>
                            <option value="1">layer</option>
                            <option value="2">form</option>
                            <option value="3">layim</option>
                            <option value="4">element</option>
                            <option value="5">laytpl</option>
                            <option value="6">upload</option>
                            <option value="7">laydate</option>
                            <option value="8">laypage</option>
                            <option value="9">flow</option>
                            <option value="10">util</option>
                            <option value="11">code</option>
                            <option value="12">tree</option>
                            <option value="13">layedit</option>
                            <option value="14">nav</option>
                            <option value="15">tab</option>
                            <option value="16">table</option>
                            <option value="17">select</option>
                            <option value="18">checkbox</option>
                            <option value="19">switch</option>
                            <option value="20">radio</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div><span class="left tl2">辞退理由：</span>
                    <div class="left sd"><p>
                            <textarea name="" required lay-verify="required"
                                      class="layui-textarea"></textarea>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="interview-btn">
                    <button class="layui-btn layui-btn-radius ok">提交</button>
                    <button class="layui-btn layui-btn-radius layui-btn-primary cancel">取消</button>
                </div>

            </from>

        </div>

        <div class="clear"></div>
    </div>
</div>


<script type="text/javascript" src="./js/jquery-3.2.1.min.js"></script>
<script src="./lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="./js/xadmin.js"></script>
<script>

    $(".ok").click(function () {
        if (!$(':radio[name=tg]:checked').length) {
            layer.msg('面试结果不能为空!', {icon: 2, time: 2000});
        } else {
            layer.msg('已提交!', {icon: 1, time: 1000});
        }
    })

    function member_del(obj, id) {
//        x_admin_close();
        var data = $(obj).parent().parent().children().html();
        layer.confirm(data, {title: '确认删除'}, function (index) {
            //发异步删除数据
//            layer.closeAll();
            parent.layer.closeAll();
            layer.msg('已删除!', {icon: 1, time: 1000});

        });

    }

</script>
</body>

</html>